package com.jd.user.mapper;

import com.jd.user.domain.Logininfo;
import com.jd.basic.mapper.BaseMapper;
import com.jd.user.dto.UserLoginDto;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jd
 * @since 2023-03-04
 */
@Repository
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByUsername(UserLoginDto  dto);

    Logininfo findByUserID(Long userId);
}
